home *** CD-ROM | disk | FTP | other *** search
- ## proxy_connect.tg
- ## Connect to the proxy WinCron by opening the port specified in the Windows Registry.
- # If the port is opened without error, handshake is performed to insure we are talking
- # to a valid WinCron
- # Assumptions:
- # 1. The the Proxy WinCron has been registered as a system service
- # 2. The Proxy WinCron has been initialized
- # See Also: proxy_initialize.tg
- # Note: This routine will also connect to a Proxy running in 'application' mode
- # Application mode is useful for testing your scripts before putting them online.
- {
- -name proxy_connect
- -start
- -stop
-
- # connect to the port/socket of the proxy service
- -action -print connecting to the proxy...
- -action -proxy -connect
- }